/*
 *  $Id: EternityIllusion.cs 905 2009-11-29 11:23:25Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Cards001.Light.Abilities {
    public class EternityIllusion: AbilityCard<Creature> {
        public EternityIllusion(): base("001_l_a_eternity_illusion") {
            Level = CompleteLevel.ReadyForTest;
            Element = ElementType.Light;
            Target = CreatureTarget.Both;
        }

        protected override void DoAction(TargetArgs<Creature> args) {
            args.Target.AddAffect<EternityIllusionAffect>();
        }

        private class EternityIllusionAffect: SpellAffect<EternityIllusion> {
            public EternityIllusionAffect() {
                Add(new Affects.AbilityTireless());
            }
        }
    }
}
